package cn.tedu.dao;

import cn.tedu.domain.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface StudentDao {

    List<Student> selectAllStudent();

    Student selectByid(Integer id);

    Student selectByparam(@Param(value = "myname") String name,@Param(value = "myid") Integer id);

    List<Student> selectBymap(Map<String,Object> map);

    List<Student> selectBylike(String name);

    List<Student> selectByWhere(Student student);

    List<Student> selectByforeachOne(List<Integer> myid);

    List<Student> selectByforeachTwo(List<Student> myid);
}
